package cn.wx.scholar.core.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.wx.common.persistence.base.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author  
 * @since 2018-08-25
 */
@TableName("txt_authors")
public class TxtAuthors extends BaseEntity {
	
	private String name;

	@JSONField(name="org")
	private String affiliation;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAffiliation() {
		//if(affiliation == null) return "";
		return affiliation;
	}

	public void setAffiliation(String affiliation) {
		this.affiliation = affiliation;
	}


}
